﻿using RRQMMVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Views;

namespace MainClient
{
    public class ViewManager : IMessageManager
    {
        private MainWindow mainWindow;
        private LaunchWindow launchWindow;

        [RegistMethod]
        public void OpenMainWindow()
        {
            mainWindow = new MainWindow();
            mainWindow.Show();
            launchWindow.Close();
        }
        
        [RegistMethod]
        public void OpenLaunchWindow()
        {
            launchWindow = new LaunchWindow();
            launchWindow.Show();
        }
       
        
        [RegistMethod]
        public void ShowWindowDialog(string dialogName)
        {
            
        }
    }
}
